﻿using System;
using System.Collections.Generic;

namespace autoMessage.Entities;

/// <summary>
/// 在线用户记录
/// </summary>
public partial class SysUserOnline
{
    /// <summary>
    /// 用户会话id
    /// </summary>
    public string SessionId { get; set; } = null!;

    /// <summary>
    /// 登录账号
    /// </summary>
    public string? LoginName { get; set; }

    /// <summary>
    /// 部门名称
    /// </summary>
    public string? DeptName { get; set; }

    /// <summary>
    /// 登录IP地址
    /// </summary>
    public string? Ipaddr { get; set; }

    /// <summary>
    /// 登录地点
    /// </summary>
    public string? LoginLocation { get; set; }

    /// <summary>
    /// 浏览器类型
    /// </summary>
    public string? Browser { get; set; }

    /// <summary>
    /// 操作系统
    /// </summary>
    public string? Os { get; set; }

    /// <summary>
    /// 在线状态on_line在线off_line离线
    /// </summary>
    public string? Status { get; set; }

    /// <summary>
    /// session创建时间
    /// </summary>
    public DateTime? StartTimestamp { get; set; }

    /// <summary>
    /// session最后访问时间
    /// </summary>
    public DateTime? LastAccessTime { get; set; }

    /// <summary>
    /// 超时时间，单位为分钟
    /// </summary>
    public int? ExpireTime { get; set; }
}
